﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Data.Linq.Mapping;
using System.IO;
using System.IO.Compression;
using Sub.Function;

namespace Client.Sys
{
    public class ObjectFunction
    {
        /// <summary>
        /// this function use to execute query string from client to service
        /// </summary>
        /// <param name="SQL">update table set columnA = 'value'</param>
        /// <param name="action"></param>
        public static void ExecuteQuery(string SQL, ref ActionService action)
        {
            using (GetUrlService svc= new GetUrlService())
            {
               svc.SQL_ExecuteQuery(SQL, ref action); 
            }
        }
    }
}
